package cn.tedu.truetaste.mapper;

import cn.tedu.truetaste.pojo.entity.Category;
import cn.tedu.truetaste.pojo.entity.Employee;
import cn.tedu.truetaste.pojo.vo.CategoryListItemVO;
import cn.tedu.truetaste.pojo.vo.CategoryStandardVO;
import cn.tedu.truetaste.pojo.vo.EmployeeListItemVO;
import cn.tedu.truetaste.pojo.vo.EmployeeStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeMapper {

    int insert(Employee employee);

    int insertBatch(List<Employee> employeeList);

    int deleteById(Long id);

    /**
     * 根据若干个id批量删除
     * @param ids
     * @return
     */
    int deleteByIds(Long[] ids);

    int update(Employee employee);



    EmployeeStandardVO getStandardById(Long id);

    List<EmployeeListItemVO> list();

}
